<?php
namespace app\admin\model;
use think\Model;
use think\Db;

class Business extends Model
{
    protected static function init()
    {

    }
    protected $autoWriteTimestamp=true;
    public function category(){
        return $this->belongsTo('category','cate_id');
    }

    public function position(){
        return $this->hasOne('position','status');
    }

	
	
    
}
